code: public function supportsOperation($operationName)
      {
          foreach ($this->operations as $operation) {
              if ($operation->getName() === $operationName) {
                  return true;
              }
          }
  
          return false;
      }
docs: Checks whether a specific operation is known to be supported
  
  @param string $operationName The name of the operation.
  
  @return boolean True if the operation is supported, false otherwise.