You can use the EMPTY collection predicate to test if a multivalued relationship has no members.
collection-valued-path-expression IS [NOT] EMPTY
SELECT OBJECT(d) FROM DeptBean d WHERE d.emps IS EMPTY