Adds a conditional attribute check for run_content