To check if an object is blank simply run the .isEmpty() function on the object you are trying to check, as is shown below.
if (#Grade.isEmpty()) { #Grade.run(); }