public function isAccessible($property)
    {
        $value = isset($this->_accessible[$property]) ?
            $this->_accessible[$property] :
            null;

        return ($value === null && !empty($this->_accessible['*'])) || $value;
    }
public function isAccessible($property)
    {
        $value = isset($this->_accessible[$property]) ?
            $this->_accessible[$property] :
            null;

        return ($value === null && !empty($this->_accessible['*'])) || $value;
    }
public function isAccessible ( $ property ) { $ value = isset ( $ this -> _accessible [ $ property ] ) ? $ this -> _accessible [ $ property ] : null ; return ( $ value === null && ! empty ( $ this -> _accessible [ '*' ] ) ) || $ value ; }
Checks if a property is accessible

### Example:

```
$entity->isAccessible('id'); // Returns whether it can be set or not
```

@param string $property Property name to check
@return bool
Checks if a property is accessible