Check that objectID is not empty