src/Zicht/Bundle/MessagesBundle/Manager/MessageManager.php
protected function getOverwriteValue($state, $overwrites)
    {
        if (is_array($overwrites) && array_key_exists($state, $overwrites)) {
            return $overwrites[$state];
        }
        return false;
    }
protected function getOverwriteValue($state, $overwrites)
    {
        if (is_array($overwrites) && array_key_exists($state, $overwrites)) {
            return $overwrites[$state];
        }
        return false;
    }
protected function getOverwriteValue ( $ state , $ overwrites ) { if ( is_array ( $ overwrites ) && array_key_exists ( $ state , $ overwrites ) ) { return $ overwrites [ $ state ] ; } return false ; }
Helper function for more readable check

@param string $state
@param mixed $overwrites
@return bool
Helper function for more readable check