Helper function to check for GRangesList
is.grl(class)
class
the class you want to check if is GRL, either a character from class or the object itself.
a boolean