isIfStatement function

Say if line in record is an IF-statement.