Assertion: relay's function | /r/CapableOf | use variable
Facets:
Source sentences:
text: The function uses a variable called relayStatus to track whether the relay is on or off, enabling a separate function called toggleRelay to toggle the status of the relay (turning the relay on it its off or off if its on).