test boolean for access