code: public boolean isContainedBy(@Nonnull PermissionScope s) {
          for (PermissionScope c : scopes) {
              if (c.isContainedBy(s))
                  return true;
          }
          return false;
      }
docs: Checks if this permission is contained in the specified scope, (either directly or indirectly.)