reduce number of violations
check if ``object`` exists