I don't think it's an Amorphophallus (although I do believe it is a relative), as the key to the genera of the Araceae of Costa Rica does not include any Amorphophallus species. I'm assuming it's a native plant, though. Key to the Genera of the Araceae of Costa Rica (in Spanish)