src/Micrometa/Domain/Item/PropertyList.php
public function offsetExists($iri)
    {
        $iri = IriFactory::create($iri);
        try {
            ($iri->profile !== '') ?
                $this->getProfiledPropertyCursor($iri) : $this->getPropertyCursor($iri->name);

            return true;
        } catch (OutOfBoundsException $exception) {
            return false;
        }
    }
public function offsetExists($iri)
    {
        $iri = IriFactory::create($iri);
        try {
            ($iri->profile !== '') ?
                $this->getProfiledPropertyCursor($iri) : $this->getPropertyCursor($iri->name);

            return true;
        } catch (OutOfBoundsException $exception) {
            return false;
        }
    }
public function offsetExists ( $ iri ) { $ iri = IriFactory :: create ( $ iri ) ; try { ( $ iri -> profile !== '' ) ? $ this -> getProfiledPropertyCursor ( $ iri ) : $ this -> getPropertyCursor ( $ iri -> name ) ; return true ; } catch ( OutOfBoundsException $ exception ) { return false ; } }
Return whether a property exists

@param \stdClass|Iri|string $iri IRI

@return boolean Property exists
Return whether a property exists