Adds checkIfClaimExists method
Makes some space and thus code more readable