RDMA/efa: Add a generic capability check helper