cast supported to bool