Test for entry status I want to test for the existence of disabled entries for the logged in author in a section. So far I have this:

{% set profileEntryQuery = craft.entries()
    .section('profileEntry')
    .status(null) %}

{% set entries = profileEntryQuery.all() %}    

{% for entry in entries %}

  {% if currentUser.id == entry.author.id %}


But the status(null) checks for disabled and enabled entries. How can I get a positive if only disabled entries exist but not enabled.
status('disabled') should do the trick for you 

{% set entries = craft.entries()
    .section('profileEntry')
    .status('disabled')
    .all() %}