Function isWaitable

Checks if the specified value is a waitable