Checks if the storage has an attribute with the given name.
string $name: The name of the attribute to check for.
bool Returns TRUE if the attribute exists, or FALSE otherwise.
public function hasAttribute($name) { return array_key_exists($name, $this->storage); }