Here's my previous example:

```
  def check
    connect
    disconnect
    if (banner =~ /220 PCMan's FTP Server 2\.0/)
      return Exploit::CheckCode::Vulnerable
    end
    return Exploit::CheckCode::Safe
  end
```