variables = 'narrative', 'subject', 'activity', 'filer'
[tuple(name for flag, name in zip(x, variables) if x) for x in zip(
    narrative, subject, activity, filer)]
Filter a tuple with another tuple in Python