code: public function hasProperty($name)
      {
          $this->typeCheck->hasProperty(func_get_args());
  
          foreach ($this->properties() as $property) {
              if ($property->name() === $name) {
                  return true;
              }
          }
  
          return false;
      }
docs: @param string $name
  
  @return boolean