cast active to bool