inspector for Layer (not layermask) the easy way

I’d like to keep the proto editor code free.
Is there a way to show layers like this?
7975170--1023429--upload_2022-3-18_10-12-47.png

Layers are just integers, I don’t think there’s a way without editor scripting.