While tiles can not be given data to let us know they were created by the stair creation process, a scenario where deleting a staircase leaves two floating tiles and nothing attached is not particularly desired. So a check to see if all tiles surrounding those two are empty and if so deleting those two as well when deleting stairs could be handy. If there are other tiles on the other hand, it should be safe to assume that the stair is being deleted to be replaced by another stair or that another stair leading up to that floor already exists... or perhaps it was just a temporary staircase to customize the roof.
While tiles can not be given data to let us know they were created by the stair creation process, a scenario where deleting a staircase leaves two floating tiles and nothing attached is not particularly desired. So a check to see if all tiles surrounding those two are empty and if so deleting those two as well when deleting stairs could be handy. If there are other tiles on the other hand, it should be safe to assume that the stair is being deleted to be replaced by another stair or that another stair leading up to that floor already exists... or perhaps it was just a temporary staircase to customize the roof.