public function resolved()
 {
     return $this->resolvable->resolved();
 }
 /**
  * Resolves the specified authorization if it's not resolved and checks it.
  * @param ResolvableAuthorizationInterface $resolvable
  * @param array $resolveParams
  * @return bool
  */
 public function check($resolvable, $resolveParams = [])
 {
     if (!$resolvable->resolved()) {
         $resolvable->resolve($resolveParams);
     }
     if (!$resolvable->value()) {
         $this->_unauthorized();
     }
     return true;
 }