output/formatting/styles/Map.php
public function contains(interfaces\Style $style) : bool
    {
        return empty($this->items) ? false : (null !== $this->name($style));
    }
public function contains(interfaces\Style $style) : bool
    {
        return empty($this->items) ? false : (null !== $this->name($style));
    }
public function contains ( interfaces \ Style $ style ) : bool { return empty ( $ this -> items ) ? false : ( null !== $ this -> name ( $ style ) ) ; }
Checks whether the given Style exists in the Collection.

@param   interfaces\Style    $style  The Style to search for.
@return  bool                        True if the Style exists in the Collection, false otherwise.
Checks whether the given Style exists in the Collection .