src/main/php/ioc/binding/PropertyBinding.php
public function hasProperty($name)
    {
        if ($this->properties->containValue($this->environment, $name)) {
            return true;
        }

        return $this->properties->containValue('config', $name);
    }
public function hasProperty($name)
    {
        if ($this->properties->containValue($this->environment, $name)) {
            return true;
        }

        return $this->properties->containValue('config', $name);
    }
public function hasProperty ( $ name ) { if ( $ this -> properties -> containValue ( $ this -> environment , $ name ) ) { return true ; } return $ this -> properties -> containValue ( 'config' , $ name ) ; }
checks if property with given name exists

@param   string  $name
@return  bool
checks if property with given name exists