added helper methods for wifi checks