Check if targets is not None.