cell occupied check