Checking if an object is an Effect in Typescript - Effect Community