How to verify in Custom Widget the access level of the user?

I am creating a Custom Widget where there are extensive configuration options. I want only OWNER users to be able to access those configuration options.
How can I do that?