checkContext