public function hasProperty($property)
{
// If property has been initialised
if (array_key_exists($property, $this->_data)) {
return !is_null($this->_data[$property]);
}
// If property has not been initialised
if (array_key_exists($property, $this->_cleanData)) {
return !is_null($this->_cleanData[$property]);
}
return false;
}