isExists static method Null safety

bool isExists(
  1. Tag? tag,
  2. List<Tag>? tags
)