Generate table based on member's status

I am creating a table based on the member's current status (membership and subscription type) and for the routine, I am parsing the entire user table.

I need to ask if the user is a member before applying processing:
$member->current_subscription(); $member->current_subscription(); and is_member($user_id);

Please advise