Typescript Add To Array If Not Null Python Snake Invasive Species