checking if layer exists in specific tile