ooi_command: more complex availability checking for OOIs (will come in handy later)