Function to check if a user is active/deactivated

Is there any function available to check if a user is active or has been deactivated?

OriginalPostID-157069

OriginalPostID-157069

  Discussion posts and replies are publicly visible