public function hasProperty($property)
    {
        return
            property_exists($this, $property)
            ||
            $this->hasAttribute($property)
            ||
            $this->hasData($property);
    }
public function hasProperty($property)
    {
        return
            property_exists($this, $property)
            ||
            $this->hasAttribute($property)
            ||
            $this->hasData($property);
    }
public function hasProperty ( $ property ) { return property_exists ( $ this , $ property ) || $ this -> hasAttribute ( $ property ) || $ this -> hasData ( $ property ) ; }
Check if property exists either in the class or the meta collection

@param  string $property

@return bool
Check if property exists either in the class or the meta collection