Simple Function, just need help with concept

Here is the problem statement.
// Overloaded the relational operators
bool operator==(const BookType& otherBook) const
{
// Overloaded operator==
// Post: Return 1 if and only the two books' ISBN-13 are the same;
// otherwise, return 0.
||I know it has to do with returning true and false statements at some point, but am just not sure how||
I was thinking a little like:
if
{
otherBook = BookType;
}
return true;
else
{
return false;
}
Am I close? Any help would be appreciated.