I have a Rails model class as shown below:

```
class Project < ApplicationRecord
  def open?
    status != "Completed" || actual_completion_date.blank?
  end

  def completed?
    !open?
  end
end

```

I'd like to define a class-level custom query method that returns all the open projects. Is there a way to reuse the existing `open?` method when definining such a query method, or do I have to rewrite the conditions in the new method like so?

```
def self.open
  where("status != ? or actual_completion_date == ?", "Completed", nil)
end

```