code: public function hasProperty($name)
      {
          if ($this->properties->containValue($this->environment, $name)) {
              return true;
          }
  
          return $this->properties->containValue('config', $name);
      }
docs: checks if property with given name exists
  
  @param   string  $name
  @return  bool