Check if at least one target is specified