Lavary\Menu\Item::hasProperty PHP Метод

hasProperty() публичный Метод

Check if propery exists either in the class or the meta collection
public hasProperty ( String $property ) : boolean
$property String
Результат boolean
    public function hasProperty($property)
    {
        if (property_exists($this, $property) || !is_null($this->data($property))) {
            return true;
        }
        return false;
    }