i need to create a method that stops my addEvent method whenever the event being added has a duplicate beginDate AND eventAddress. here are my variables from my addEvent method: this.event.beginDateTime = new Date(this.event.beginDateTime ?? new Date());
    this.event.endDateTime = new Date(this.event.endDateTime ?? new Date());
    this.event.numberOfRecruits = this.event.numberOfRecruits ?? 0;
    this.event.title = this.event.title ?? "";
    this.event.eventHost = this.event.eventHost ?? "";
    this.event.eventAddress = this.event.eventAddress ?? "";

    this.event.qrCodeDuration = 5;
    this.event.contactPhone = this.event.contactPhone ?? "";
    this.event.contactEmail = this.event.contactEmail ?? "";
    this.event.contactName = this.event.contactName ?? "";
    this.event.eventUrl = this.event.eventUrl ?? "";

    this.event.seatsAvailable = this.event.seatsAvailable ?? 0;
    this.event.projectedCost = this.event.projectedCost ?? 0;
    this.event.collegesAttending = this.event.collegesAttending ?? "";
    this.event.numberOfResumes = this.event.numberOfResumes ?? 0;
    this.event.eventRating = this.event.eventRating ?? 0;
    this.event.eventStatus = this.event.eventStatus ?? "Pending";
    // Set the recruiter teams for the event
    this.event.recruitingTeams = this.recruitingTeams;

    // Add the enteredNotes field to the event object
    this.event.notes = this.enteredNotes ?? ""; Write your response with exactly 2 paragraphs, separated with the markdown divider: ***.
user