added helper method for API checks