public function hasFacet($facet)
    {
        return ! is_null($this->findFacetByName($facet)) || ! is_null($this->findFacetById($facet));
    }
public function hasFacet($facet)
    {
        return ! is_null($this->findFacetByName($facet)) || ! is_null($this->findFacetById($facet));
    }
public function hasFacet ( $ facet ) { return ! is_null ( $ this -> findFacetByName ( $ facet ) ) || ! is_null ( $ this -> findFacetById ( $ facet ) ) ; }
Checks if the Profile has the Facet given.

@param string $facet

@return bool
Checks if the Profile has the Facet given .