Formatting the is_bound() function to be more rigid