add utility functions for node availibity check