src/PeekAndPoke/Component/Formal/Accessor/PublicGetterSetterAccessor.php
public function canAccessForRead($key, $subject)
    {
        if (! is_object($subject)) {
            return false;
        }

        $reflect = new \ReflectionClass($subject);

        return $this->getReadMethod($key, $reflect) !== null;
    }
public function canAccessForRead($key, $subject)
    {
        if (! is_object($subject)) {
            return false;
        }

        $reflect = new \ReflectionClass($subject);

        return $this->getReadMethod($key, $reflect) !== null;
    }
@param string $key
@param mixed  $subject

@return boolean