Checking that required scopes are present