No, that's untrue. A Genderless Pokemon using Attract will fail under all circumstances.
>If the move is used on a Pokémon that is the same gender as the user or is genderless, it will fail.
Bulbapedia
>Attract will fail on Pokémon of the same gender, genderless Pokémon and those with the ability Oblivious. Mew and Cryogonal can learn Attract via TM despite being genderless, however, the move will have no effect.
DB