Is there a good way to check whether a user is eligible to run a command?

I want to check whether a user is eligible to run a command via Discord's integration command permissions. Is there a viable way to do that?
Was this page helpful?