finished place checker method and isempty method