Added a function to check if an object is a parking slot or not