How to make Custom button visible to User with specific role

frappe.user.has_role('Equipment Manager')