code: public function hasFinal()
      {
          $reflection = new ReflectionClass($this->interface);
          $methods = $reflection->getMethods();
          foreach ($methods as $method) {
              if ($method->isFinal()) {
                  return true;
              }
          }
  
          return false;
      }
docs: Scans for final methods, as they screw up inherited mocks
  by not allowing you to override them.
  
  @returns boolean   True if the class has a final method.