updated docstring on check_endpoint