Help with if_current_user-can around communication message

Membership plugin sends a communication message wp-admin/admin.php?page=membershipcommunication to all active levels. I want to send the message only if the current user can('edit_pages'). What code in membership plugin do I wrap with the if current user can statement? I am not good with code so a copy and paste will be great. Thanks.