add back missing is empy object function