Return a value if the current call is a test