UKismetSystemLibrary::ParseParam

Returns true if the string has -param in it (do not specify the leading -)