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