eta.util.general.atom

atom(lst)[source]

Check whether an input is an atom (either empty list or a non-list).