public boolean hasPermissionsByInternalId(String internalId,Permission... permissions){
  return hasPermissionsByInternalId(internalId,Arrays.asList(permissions));
}

public boolean hasPermissionsByInternalId ( String internalId , Permission ... permissions ) { return hasPermissionsByInternalId ( internalId , Arrays . asList ( permissions ) ) ; }
test for whether an api key has specific permissions using its internal id .
