public function hasProperty($name)
    {
        $this->typeCheck->hasProperty(func_get_args());

        foreach ($this->properties() as $property) {
            if ($property->name() === $name) {
                return true;
            }
        }

        return false;
    }
public function hasProperty($name)
    {
        $this->typeCheck->hasProperty(func_get_args());

        foreach ($this->properties() as $property) {
            if ($property->name() === $name) {
                return true;
            }
        }

        return false;
    }
@param string $name

@return boolean