Add utility method to check if a login method is present