input: Write a function to create a Celery task in Python that sends an email using the given parameters. The function should be named `send_email` and take `recipient_name`, `recipient_email`, `subject`, and `message` as arguments. Ensure the function initializes a Celery app and sends an email using the provided Flask-Mail `Message` class.
  assert send_email('John Smith', 'john@example.com', 'Hello World', 'This is a test email.')==True
  assert send_email('Jane Doe', 'jane@example.com', 'Goodbye', 'This is another test email.')==True
  assert send_email('', '', 'Test', '')==False
  assert send_email('Test User', 'test@example.com', '', 'This is a test email without a subject.')==True
  assert send_email('Invalid User', 'invalid', 'Invalid Email', 'This is a test email to an invalid address.')==False
output: def send_email(recipient_name, recipient_email, subject, message):
      from celery import Celery
      from flask_mail import Message
      from flask import Flask
      from flask_mail import Mail
  
      app = Flask(__name__)
      app.config['MAIL_SERVER'] = 'smtp.example.com'
      app.config['MAIL_PORT'] = 587
      app.config['MAIL_USE_TLS'] = True
      app.config['MAIL_USERNAME'] = 'your_email@example.com'
      app.config['MAIL_PASSWORD'] = 'your_password'
      mail = Mail(app)
  
      celery_app = Celery(app.name, broker='pyamqp://guest@localhost//')
  
      @celery_app.task
      def send_email_task(recipient_name, recipient_email, subject, message):
          if not recipient_email or not recipient_name:
              return False
          msg = Message(subject, sender='your_email@example.com', recipients=[recipient_email])
          msg.body = f"Dear {recipient_name},\n\n{message}"
          with app.app_context():
              mail.send(msg)
          return True
  
      return send_email_task.delay(recipient_name, recipient_email, subject, message).get()