I think it really depends on the situation when detaining someone for having an empty spray can. Such as Them being Right next To a Vandalized wall, masked with An empty spray can.
Of course, the spray would have to look pretty new, judging by the time on the sign. However, they cannot do much...