Is this condition correct? Should the notification be made even if notify is false? What does the "notify" parameter actually mean? If it's about whether to show a preview banner or not, please give it a more descriptive name.